package com.youth.hrsync.mapper.kunshan;

import com.youth.hrsync.bean.kunshan.KunShanUserinfo;
import com.kcis.xian.hrsync.mapper.SuperMapper;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaiKeyang
 * @since 2021-09-09
 */
public interface KunShanUserinfoMapper extends SuperMapper<KunShanUserinfo> {

    List<KunShanUserinfo> selectUsers() throws RuntimeException;

    int deleteUsers() throws RuntimeException;

    @Insert({"insert into USERINFO_XIA(USERID, SSN, NAME, CardNo) values(#{userid}, #{ssn}, #{name}, #{CardNo})"})  // , #{createTime, jdbcType=TIMESTAMP}
    int insert() throws RuntimeException;

}
